
pkgname=python2-systemd
_pkgname=python-systemd
pkgver=234
pkgrel=1
pkgdesc="Python module for native access to the systemd facilities."
arch=('x86_64')
license=('LGPLv2+')
url="https://github.com/systemd/python-systemd"
depends=('python2')
makedepends=('python2-sphinx' 'python2-lxml' 'systemd')
source=("https://github.com/systemd/python-systemd/archive/v${pkgver}.tar.gz")
md5sums=('752929b651d1c6b2a42d454f58b94974')

build() {
  cd ${_pkgname}-${pkgver}

  python2 setup.py build
  make
  #make sphinx-html
}

package() {
  cd ${_pkgname}-${pkgver}

  python2 setup.py install --root=${pkgdir}/
}
